package com.qhg.saas_server.pojo;


import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;


/**
 *@作者:lsk
 *仅作为学习使用
 *@Date:2023/07/13
 *表注解:
*/
@Data
@EqualsAndHashCode(callSuper = false)
public class Menu implements Serializable{


	private static final long serialVersionUID = 1L;




	/**
	 * 字段解释:菜单id
	*/
	@Excel(name = "菜单ID",orderNum = "0")
	private Integer menuId;



	/**
	 * 字段解释:菜单名
	*/
	@Excel(name = "菜单名字",orderNum = "1")
	private String menuName;



	/**
	 * 字段解释:菜单路由(如果是菜单，存放的是路由，如果是按钮，0:插入,1:修改,2:删除,3:导入,4:导出)
	*/
	@Excel(name = "菜单路由(如果是菜单，存放的是路由，如果是按钮，0:插入,1:修改,2:删除,3:导入,4:导出)",orderNum = "2")
	private String menuRouter;



	/**
	 * 字段解释:菜单状态(0:禁用,1:正常)
	*/
	@Excel(name = "菜单状态(0:禁用,1:正常)",orderNum = "3")
	private Integer menuStatus;



	/**
	 * 字段解释:父菜单ID(0:自身为父菜单)
	*/
	@Excel(name = ":父菜单ID(0:自身为父菜单)",orderNum = "4")
	private Integer parentId;

	/**
	 * 按钮
	 */
	private List<Menu> menuList;

}